package edu.zcmu.seckill.service.impl;

import edu.zcmu.seckill.entity.SysBank;
import edu.zcmu.seckill.mapper.SysBankMapper;
import edu.zcmu.seckill.service.SysBankService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 唐诗
 * @since 2022-03-27
 */
@Service
public class SysBankServiceImpl extends ServiceImpl<SysBankMapper, SysBank> implements SysBankService {

    @Autowired
    SysBankMapper sysBankMapper;

    @Override
    public void updateByMoney(SysBank sysBank) {

        sysBankMapper.updateByMoney(sysBank);
    }
}
